package com.novunda.platform.enums;
/**
 * .
 * 功能说明：帐号状态枚举
 * @author FJ
 * @see 2016年9月13日
 * @version 1.0
 */
public enum UserStateEnum {
	
	NORMAL("正常"), ACTIVE("激活"), FREEZE("冻结");
	
	private String content;

	private UserStateEnum(String str) {
		this.content = str;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public static String content(int state) {
		String content = "";
		switch (state) {
		case 0:
			content = "正常";
			break;
		case 2:
			content = "冻结";
			break;
		default:
			break;
		}
		return content;
	}
	
}
